home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / nt4.0 server / OEMNSVBH.IN_ / oemnsvbh.inf
INI File  |  1996-07-12  |  23KB  |  593 lines

  1. [Identification]
  2.     OptionType = NetService
  3. [Options]
  4.     NETMON
  5.     NETMONTOOLS
  6. [FileConstants]
  7. UtilityInf      = "UTILITY.INF"
  8. subroutineinf   = "SUBROUTN.INF"
  9. SoftwareType    = "service"
  10. Exit_Code       = 0
  11. NetEventDLL     = "%SystemRoot%\System32\netevent.dll"
  12. Manufacturer    = "Microsoft"
  13. ProductMajorVersion     = "4"
  14. ProductMinorVersion     = "0"
  15. ProductVersion  = $(ProductMajorVersion)"."$(ProductMinorVersion)
  16. ProductOpSupport     = 132 
  17. ProductSoftwareName     = "bh"
  18. ProductSoftwareImagePath = "\SystemRoot\System32\drivers\bhnt.sys"
  19. NetRuleSoftwareType     = "bloodhound ndisTransport bhService"
  20. NetRuleSoftwareClass    = {"bhService ndisTransport"}
  21. NetRuleSoftwareUse      = "transport yes yes"
  22. NetRuleSoftwareBindForm = """bh"" yes yes simple"
  23. ProductNMAgentName    = "nmagent"
  24. ProductNMAgentImagePath    = "%SystemRoot%\System32\nmagent.exe"
  25. ProductNMAgentSvcType    = "service"
  26. ProductKeyName  = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
  27. ParamKeyName    = $(!NTN_ServiceBase)"\"$(ProductSoftwareName)"\Parameters"
  28. ServiceKeyName    = $(!NTN_ServiceBase)"\"$(ProductSoftwareName)
  29. NMAgentKeyName    = $(!NTN_ServiceBase)"\"$(ProductNMAgentName)
  30. [GeneralConstants]
  31. from      = ""
  32. to        = ""
  33. ExitCodeOk     = 0
  34. ExitCodeCancel = 1
  35. ExitCodeFatal  = 2
  36. KeyNull         = ""
  37. MAXIMUM_ALLOWED   = 33554432
  38. RegistryErrorIndex = NO_ERROR
  39. KeyProduct      = ""
  40. KeyParameters   = ""
  41. TRUE            = 1
  42. FALSE           = 0
  43. NoTitle            = 0
  44. ExitState   = "Active"
  45. OldVersionExisted = $(FALSE)
  46. DriverPath      = $(!STF_NTPATH)\drivers
  47. [date]
  48.     Now = {} ? $(!LIBHANDLE) GetSystemDate
  49. [Identify]
  50.     read-syms Identification
  51.     set Status     = STATUS_SUCCESSFUL
  52.     set Identifier = $(OptionType)
  53.     set Media      = #("Source Media Descriptions", 1, 1)
  54.     Return $(Status) $(Identifier) $(Media)
  55. [ReturnOptions]
  56.     set Status        = STATUS_FAILED
  57.     set OptionList     = {}
  58.     set OptionTextList = {}
  59.     set LanguageList = ^(LanguagesSupported, 1)
  60.     Ifcontains(i) $($0) in $(LanguageList)
  61.         goto returnoptions
  62.     else
  63.         set Status = STATUS_NOLANGUAGE
  64.         goto finish_ReturnOptions
  65.     endif
  66. returnoptions = +
  67.     set AllOptionsList     = ^(Options, 1)
  68.     set AllOptionsTextList = ^(OptionsText$($0), 1)
  69.     ifstr(i) $(!STF_PRODUCT) == "WINNT"
  70.         set OptionList = >({}, *($(AllOptionsList),1))
  71.         set OptionTextList = >({}, *($(AllOptionsTextList), 1))
  72.     else
  73.         set OptionList = $(AllOptionsList)
  74.         set OptionTextList = $(AllOptionsTextList)
  75.     endif
  76.     set Status         = STATUS_SUCCESSFUL
  77. finish_ReturnOptions = +
  78.     Return $(Status) $(OptionList) $(OptionTextList)
  79. [InstallOption]
  80.     set Option   = $($1)
  81.     set AddCopy  = $($3)
  82.     set DoCopy   = $($4)
  83.     set DoConfig = $($5)
  84.     Split-String $($2), "\", lSrcDirParts
  85.     QueryListSize cSrcDirParts $(lSrcDirParts)
  86.     ifstr(i) *($(lSrcDirParts),$(cSrcDirParts)) != "\"
  87.         Set SrcDir = $($2)"\"
  88.     else
  89.         Set SrcDir = $($2)
  90.     Endif
  91.     set LanguageList = ^(LanguagesSupported, 1)
  92.     Ifcontains(i) $($0) NOT-IN $(LanguageList)
  93.         Return STATUS_NOLANGUAGE
  94.     endif
  95.     Debug-Output "OEMNSVBH.INF: STF_CWDDIR is: "$(!STF_CWDDIR)
  96.     Debug-Output "OEMNSVBH.INF: STF_LANGUAGE is: "$(!STF_LANGUAGE)
  97.     set-subst LF = "\n"
  98.     read-syms GeneralConstants
  99.     read-syms FileConstants
  100.     read-syms DialogConstants$(!STF_LANGUAGE)
  101.     ifstr(i) $(!NTN_Origination) == "NCPA"
  102.         set Continue = $(OK)
  103.     endif
  104.     read-syms FileConstants$(!STF_LANGUAGE)
  105.     read-syms $(Option)Constants$(!STF_LANGUAGE)
  106.     detect date
  107.     set-title  $(FunctionTitle)
  108.     set to   = Begin
  109.     set from = Begin
  110.     set CommonStatus = STATUS_SUCCESSFUL
  111.     EndWait
  112. Begin = +
  113.     Ifstr(i) $(!NTN_InstallMode) == deinstall
  114.         set StartLabel = removeadapter
  115.     else-Ifstr(i) $(!NTN_InstallMode) == Update
  116.         set StartLabel = UpgradeSoftware
  117.     else-Ifstr(i) $(!NTN_InstallMode) == bind
  118.         set StartLabel = bindingadapter
  119.     else-Ifstr(i) $(!NTN_InstallMode) == configure
  120.         Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
  121.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  122.             Debug-Output "OEMNSVBH.INF: ShellCode error: cannot get an error string."
  123.             goto ShellCodeError
  124.         endif
  125.         set Error = $($R0)
  126.         set from = end
  127.         set to = end
  128.         goto nonfatalinfo
  129.     else
  130.         set StartLabel = installadapter
  131.     endif
  132.     set RadioDefault = 2
  133.     set RadioIn = {$(RadioDefault)}
  134.     set from = $(fatal)
  135.     set to = $(fatal)
  136.     goto $(StartLabel)
  137. installadapter = +
  138.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  139.     Ifstr $(KeyProduct) != $(KeyNull)
  140.         CloseRegKey $(KeyProduct)
  141.         Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
  142.             $(ProductVersion)
  143.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  144.             Debug-Output "ShellCode error: cannot get an error string."
  145.             goto ShellCodeError
  146.         endif
  147.         goto end
  148.     endif
  149.     CloseRegKey $(KeyProduct)
  150.     goto installproduct
  151. installproduct = +
  152.     StartWait
  153.     ifint $(OldVersionExisted) == $(FALSE)
  154.         Ifstr(i) $(DoCopy) == "YES"
  155.            Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
  156.            Ifint $($ShellCode) != $(!SHELL_CODE_OK)
  157.                Goto ShellCodeError
  158.            Else-Ifstr(i) $($R0) == STATUS_FAILED
  159.                Shell $(UtilityInf) RegistryErrorString "ASK_SOURCE_FAIL"
  160.                ifint $($ShellCode) != $(!SHELL_CODE_OK)
  161.                    goto ShellCodeError
  162.                endif
  163.                set Error = $($R0)
  164.                Goto fatal
  165.            Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
  166.                Goto successful
  167.            Endif
  168.            Split-String $($R1), "\", lSrcDirParts
  169.            QueryListSize cSrcDirParts $(lSrcDirParts)
  170.            ifstr(i) *($(lSrcDirParts),$(cSrcDirParts)) != "\"
  171.                Set SrcDir = $($R1)"\"
  172.            else
  173.                Set SrcDir = $($R1)
  174.            Endif
  175.         Endif
  176.         install "Install-Option"
  177.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  178.            Shell $(UtilityInf) RegistryErrorString "UNABLE_COPY_FILE"
  179.            ifint $($ShellCode) != $(!SHELL_CODE_OK)
  180.                goto ShellCodeError
  181.            endif
  182.            set Error = $($R0)
  183.            goto fatal
  184.         endif
  185.         set OEM_ABANDON_ON = TRUE
  186.         Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
  187.             $(ProductSoftwareName), +
  188.             $(ProductSoftwareName), +
  189.             $(ProductSoftwareDisplayName), $(STF_CONTEXTINFNAME), +
  190.             $(ProductSoftwareImagePath), "kernel", "", {}, "",+
  191.             $(NetEventDLL)
  192.         set RegistryErrorIndex = $($R0)
  193.         Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
  194.             EndWait
  195.             CloseRegKey $($R1)
  196.             CloseRegKey $($R2)
  197.             CloseRegKey $($R3)
  198.             CloseRegKey $($R4)
  199.             CloseRegKey $($R5)
  200.             goto fatalRegistry
  201.         endif
  202.         Set SoftProductKey      = $($R1)
  203.         Set SoftNetRuleKey      = $($R2)
  204.         Set BhServiceKey        = $($R3)
  205.         set KeyParameters       = $($R4)
  206.         Set SoftLinkageKey      = $($R5)
  207.         set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
  208.                            {MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
  209.                            {MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
  210.                            {Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
  211.                            {Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
  212.                            {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
  213.                            {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}, +
  214.                            {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
  215.         Shell  $(UtilityInf), AddValueList, $(SoftProductKey), $(NewValueList)
  216.         set RegistryErrorIndex = $($R0)
  217.         Ifstr $(RegistryErrorIndex) != NO_ERROR
  218.             CloseRegKey $(SoftProductKey)
  219.             CloseRegKey $(SoftNetRuleKey)
  220.             CloseRegKey $(BhServiceKey)
  221.             CloseRegKey $(SoftLinkageKey)
  222.             CloseRegKey $(KeyParameters)
  223.             goto fatalRegistry
  224.         endif
  225.         set NewValueList = {{type    ,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)}, +
  226.                             {use     ,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
  227.                             {class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
  228.                             {bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
  229.                             {InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
  230.         Shell  $(UtilityInf), AddValueList, $(SoftNetRuleKey), $(NewValueList)
  231.         set RegistryErrorIndex = $($R0)
  232.         Ifstr $(RegistryErrorIndex) != NO_ERROR
  233.             CloseRegKey $(SoftProductKey)
  234.             CloseRegKey $(SoftNetRuleKey)
  235.             CloseRegKey $(BhServiceKey)
  236.             CloseRegKey $(SoftLinkageKey)
  237.             CloseRegKey $(KeyParameters)
  238.             goto fatalRegistry
  239.         endif
  240.         CloseRegKey $(SoftProductKey)
  241.         CloseRegKey $(SoftNetRuleKey)
  242.         CloseRegKey $(SoftLinkageKey)
  243.         set NewValueList = {{Nal,$(NoTitle),$(!REG_VT_MULTI_SZ),{"NDIS30","RNAL"}}}
  244.         Shell  $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
  245.         set RegistryErrorIndex = $($R0)
  246.         Ifstr $(RegistryErrorIndex) != NO_ERROR
  247.             CloseRegKey $(BhServiceKey)
  248.             goto fatalRegistry
  249.         endif
  250.         CloseRegKey $(KeyParameters)
  251.         CreateRegKey $(BhServiceKey) {"Performance",$(NoTitle),GenericClass} "" +
  252.                 $(MAXIMUM_ALLOWED) "" KeyPerformance
  253.         set NewValueList = {{Library,$(NoTitle),$(!REG_VT_SZ),bhmon.dll}, +
  254.                             {Open,$(NoTitle),$(!REG_VT_SZ),"BhOpenPerformanceData"}, +
  255.                             {Close,$(NoTitle),$(!REG_VT_SZ),"BhClosePerformanceData"}, +
  256.                             {Collect,$(NoTitle),$(!REG_VT_SZ),"BhCollectPerformanceData"}}
  257.         Shell  $(UtilityInf), AddValueList, $(KeyPerformance), $(NewValueList)
  258.         set RegistryErrorIndex = $($R0)
  259.         Ifstr $(RegistryErrorIndex) != NO_ERROR
  260.             CloseRegKey $(KeyPerformance)
  261.             CloseRegKey $(BhServiceKey)
  262.             goto fatalRegistry
  263.         endif
  264.         CloseRegKey $(KeyPerformance)
  265.         Shell $(UtilityInf), CreateService, $(ProductNMAgentName),+
  266.             $(ProductNMAgentDisplayName),+
  267.             $(ProductNMAgentImagePath),+
  268.             $(ProductNMAgentSvcType), "",+
  269.             {"bh"}, ""
  270.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  271.             Debug-Output "OEMNSVBH.INF: ShellCode error"
  272.             goto ShellCodeError
  273.         endif
  274.         set RegistryErrorIndex = $($R0)
  275.         CloseRegKey $($R1)
  276.         CloseRegKey $($R2)
  277.         CloseRegKey $($R3)
  278.         Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  279.             EndWait
  280.             Debug-Output "OEMNSVBH.INF: Registry error creating Network Monitor Agent service"
  281.             goto fatalregistry
  282.         endif
  283.     endif
  284.     ifstr(i) $(Option) == "NETMONTOOLS"
  285.         read-syms IconInfo$(!STF_LANGUAGE)
  286.         Install Install-Shortcuts
  287.     endif
  288.     goto successful
  289. bindingadapter =+
  290.     set Error = "Binding: Sorry, not yet implemented."
  291.     goto fatal
  292. removeadapter = +
  293.     ifstr(i) $(Option) == "NETMONTOOLS"
  294.         read-syms IconInfo$(!STF_LANGUAGE)
  295.         Install Remove-Shortcuts
  296.         LibraryProcedure ResultList, $(!LIBHANDLE), Delnode, $(!STF_WINDOWSSYSPATH)"\netmon"
  297.     endif
  298.     AddfileToDeleteList $(!STF_WINDOWSSYSPATH)"\BHCTRL.CPL"
  299.     Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
  300.         $(ProductSoftwareName)
  301.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  302.         Debug-Output "ShellCode error"
  303.         goto ShellCodeError
  304.     endif
  305.     set RegistryErrorIndex = $($R0)
  306.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  307.         goto fatalregistry
  308.     endif
  309.     Shell $(UtilityInf), RemoveService,  $(ProductNMAgentName), "YES"
  310.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  311.         Debug-Output "ShellCode error"
  312.         goto ShellCodeError
  313.     endif
  314.     set RegistryErrorIndex = $($R0)
  315.     Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
  316.         goto fatalregistry
  317.     endif
  318.     goto end
  319. UpgradeSoftware = +
  320.     OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
  321.     Ifstr $(KeyProduct) != $(KeyNull)
  322.         install "Install-Update"
  323.         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
  324.             goto fatal
  325.         endif
  326.         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
  327.         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
  328.         ifstr(i) $(Option) == "NETMONTOOLS"
  329.             read-syms IconInfo$(!STF_LANGUAGE)
  330.             Install Remove-Shortcuts
  331.             Install Install-Shortcuts
  332.         endif
  333.         SetRegValue $(KeyProduct) {"Description",$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)}
  334.         SetRegValue $(KeyProduct) {"Title",$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)}
  335.         SetRegValue $(KeyProduct) {"SoftwareType",$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)}
  336.         SetRegValue $(KeyProduct) {OperationsSupport,$(NoTitle),$(!REG_VT_DWORD),$(ProductOpSupport)}
  337.         CloseRegKey $(KeyProduct)
  338.         OpenRegKey $(!REG_H_LOCAL) "" $(ServiceKeyName) $(MAXIMUM_ALLOWED) ServiceKey
  339.         ifstr(i) $(ServiceKey) != ""
  340.             SetRegValue $(ServiceKey) {"DisplayName",$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDisplayName)}
  341.             CloseRegKey $(ServiceKey)
  342.         endif
  343.         OpenRegKey $(!REG_H_LOCAL) "" $(NMAgentKeyName) $(MAXIMUM_ALLOWED) NMAgentKey
  344.         ifstr(i) $(NMAgentKey) != ""
  345.             SetRegValue $(NMAgentKey) {"DisplayName",$(NoTitle),$(!REG_VT_SZ),$(ProductNMAgentDisplayName)}
  346.             CloseRegKey $(NMAgentKey)
  347.         endif
  348.     else
  349.         goto fatalregistry
  350.     endif
  351.     goto end
  352. successful = +
  353.     goto end
  354. warning = +
  355.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
  356.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  357.         goto ShellCodeError
  358.     endif
  359.     ifstr(i) $($R1) == "OK"
  360.         goto $(to)
  361.     else-ifstr(i) $($R1) == "CANCEL"
  362.         goto $(from)
  363.     else
  364.         goto "end"
  365.     endif
  366. nonfatalinfo = +
  367.     Set CommonStatus = STATUS_USERCANCEL
  368.     Set Severity = STATUS
  369.     goto nonfatalmsg
  370. nonfatal = +
  371.     Set Severity = NONFATAL
  372.     goto nonfatalmsg
  373. nonfatalmsg = +
  374.     ifstr(i) $(Error) == ""
  375.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  376.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  377.             goto ShellCodeError
  378.         endif
  379.         set Error = $($R0)
  380.     endif
  381.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
  382.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  383.         goto ShellCodeError
  384.     endif
  385.     ifstr(i) $($R1) == "OK"
  386.         goto $(from)
  387.     else
  388.         goto "end"
  389.     endif
  390. fatalregistry = +
  391.     Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
  392.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  393.         goto ShellCodeError
  394.     endif
  395.     set Error = $($R0)
  396.     goto fatal
  397. fatal = +
  398.     ifstr(i) $(Error) == ""
  399.         Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
  400.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  401.             goto ShellCodeError
  402.         endif
  403.         set Error = $($R0)
  404.     endif
  405.     Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
  406.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  407.         goto ShellCodeError
  408.     endif
  409.     goto setfailed
  410. ShellCodeError = +
  411.     set DlgType      = "MessageBox"
  412.     set STF_MB_TITLE = $(ShellCodeErrorTitle)
  413.     set STF_MB_TEXT  = $(ShellCodeErrorText) 
  414.     set STF_MB_TYPE  = 1
  415.     set STF_MB_ICON  = 3
  416.     set STF_MB_DEF   = 1
  417.     ui start "Error Message"
  418.     goto setfailed
  419. setfailed = +
  420.     set CommonStatus = STATUS_FAILED
  421.     ifstr(i) $(OEM_ABANDON_ON) == TRUE
  422.         set OEM_ABANDON_ON = FALSE
  423.         goto removeadapter
  424.     endif
  425.     goto end
  426. end = +
  427.     goto term
  428. term = +
  429.     Return $(CommonStatus)
  430. [Install-Shortcuts]
  431.     ShowCommonProgManGroup $(NetAdminGroupName), 1
  432.     RemoveCommonProgManItem $(NetAdminGroupName), $(NetMonitor)
  433.     CreateCommonProgManItem $(NetAdminGroupName), $(NetMonitor), "netmon\netmon.exe" ""  0
  434.     ShowCommonProgManGroup $(NetAdminGroupName), 6
  435.     exit
  436. [Remove-Shortcuts]
  437.     ShowCommonProgManGroup $(NetAdminGroupName), 1
  438.     RemoveCommonProgManItem $(OldNetAdminGroupName), $(NetMonitor)
  439.     RemoveCommonProgManItem $(NetAdminGroupName), $(NetMonitor)
  440.     ShowCommonProgManGroup $(NetAdminGroupName), 6
  441.     exit
  442. [Install-Option]
  443.     set STF_VITAL = ""
  444.     ifstr(i) $(AddCopy) == "YES"
  445.         ifstr(i) $(Option) == "NETMONTOOLS"
  446.             CreateDir $(!STF_WINDOWSSYSPATH)\Netmon
  447.             CreateDir $(!STF_WINDOWSSYSPATH)\Netmon\Parsers
  448.             CreateDir $(!STF_WINDOWSSYSPATH)\Netmon\Captures
  449.             AddSectionFilesToCopyList Files-TOOLS $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon
  450.             AddSectionFilesToCopyList Files-PARSERS $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon\Parsers
  451.             AddSectionFilesToCopyList Files-CAPTURES $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon\Captures
  452.         endif
  453.         AddSectionFilesToCopyList Files-NETMON $(SrcDir) $(!STF_WINDOWSSYSPATH)
  454.         AddSectionFilesToCopyList Files-DRIVERS $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  455.     endif
  456.     ifstr(i) $(DoCopy) == "YES"
  457.        set !STF_NCPA_FLUSH_COPYLIST = TRUE
  458.        CopyFilesInCopyList
  459.     else
  460.         ifstr(i) $(Option) == "NETMONTOOLS"
  461.             LibraryProcedure STATUS,$(!NCPA_HANDLE), CopySingleFile $(!STF_HWND) $(SrcDir)\netmon\netmon.exe $(!STF_WINDOWSSYSPATH)\Netmon\netmon.exe
  462.         endif
  463.     endif
  464.     ifstr(i) $(DoConfig) == "YES"
  465.     endif
  466.     Exit
  467. [Install-Update]
  468.    set STF_VITAL        = ""
  469.    set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
  470.     ifstr(i) $(Option) == "NETMONTOOLS"
  471.         AddSectionFilesToCopyList Files-TOOLS $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon
  472.         AddSectionFilesToCopyList Files-PARSERS $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon\Parsers
  473.         AddSectionFilesToCopyList Files-CAPTURES $(SrcDir)"netmon" $(!STF_WINDOWSSYSPATH)\Netmon\Captures
  474.     endif
  475.    AddSectionFilesToCopyList Files-NETMON $(SrcDir) $(!STF_WINDOWSSYSPATH)
  476.    AddSectionFilesToCopyList Files-DRIVERS $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
  477.    exit
  478. [Source Media Descriptions]
  479.     1 = "Windows NT Server CD-ROM", TAGFILE = cdrom_s.40
  480. [Signature]
  481.     FileType = MICROSOFT_FILE
  482. [GetSignature]
  483.     read-syms Signature
  484.     return $(FileType)
  485. [ProductType]
  486. STF_PRODUCT  = LanmanNT
  487. STF_PLATFORM = I386
  488. [Files-Inf]
  489. 2,    oemsetup.inf,     SIZE=1000,    RENAME=$(!UG_Filename)
  490. [Files-CAPTURES]
  491. 1,DEFAULT.CF , SIZE=999
  492. 1,DEFAULT.DF , SIZE=999
  493. 1,NOBROAD.CF , SIZE=999
  494. 1,NOBROAD.DF , SIZE=999
  495. [Files-DRIVERS]
  496. 1,BHNT.SYS , SIZE=999
  497. [Files-NETMON]
  498. 1,BHCTRL.CPL , SIZE=999
  499. 1,BHMON.DLL , SIZE=999
  500. 1,BHNETB.DLL , SIZE=999
  501. 1,BHSUPP.DLL , SIZE=999
  502. 1,NAL.DLL , SIZE=999
  503. 1,NDIS30.DLL , SIZE=999
  504. 1,NMAGENT.EXE , SIZE=999
  505. 1,RNAL.DLL , SIZE=999
  506. [Files-PARSERS]
  507. 1,BHP001.DLL , SIZE=999, RENAME=ATALK.DLL
  508. 1,BHP001.INI , SIZE=999, RENAME=ATALK.INI
  509. 1,BHP002.DLL , SIZE=999, RENAME=BONE.DLL
  510. 1,BHP003.DLL , SIZE=999, RENAME=BROWSER.DLL
  511. 1,BHP004.DLL , SIZE=999, RENAME=FRAME.DLL
  512. 1,BHP005.DLL , SIZE=999, RENAME=IPX.DLL
  513. 1,BHP005.INI , SIZE=999, RENAME=IPX.INI
  514. 1,BHP006.DLL , SIZE=999, RENAME=LLC.DLL
  515. 1,BHP006.INI , SIZE=999, RENAME=LLC.INI
  516. 1,BHP007.DLL , SIZE=999, RENAME=MAC.DLL
  517. 1,BHP007.INI , SIZE=999, RENAME=MAC.INI
  518. 1,BHP008.DLL , SIZE=999, RENAME=MSRPC.DLL
  519. 1,BHP008.INI , SIZE=999, RENAME=MSRPC.INI
  520. 1,BHP009.DLL , SIZE=999, RENAME=NCP.DLL
  521. 1,BHP010.DLL , SIZE=999, RENAME=NETBIOS.DLL
  522. 1,BHP011.DLL , SIZE=999, RENAME=NETLOGON.DLL
  523. 1,BHP012.DLL , SIZE=999, RENAME=PPP.DLL
  524. 1,BHP012.INI , SIZE=999, RENAME=PPP.INI
  525. 1,BHP013.CNT , SIZE=999, RENAME=SMB.CNT
  526. 1,BHP013.DLL , SIZE=999, RENAME=SMB.DLL
  527. 1,BHP013.HLP , SIZE=999, RENAME=SMB.HLP
  528. 1,BHP014.DLL , SIZE=999, RENAME=SNMP.DLL
  529. 1,BHP015.DLL , SIZE=999, RENAME=TCPIP.DLL
  530. 1,BHP015.INI , SIZE=999, RENAME=TCPIP.INI
  531. 1,BHP016.DLL , SIZE=999, RENAME=TRAIL.DLL
  532. 1,BHP016.INI , SIZE=999, RENAME=TRAIL.INI
  533. 1,BHP017.DLL , SIZE=999, RENAME=VINES.DLL
  534. 1,BHP017.INI , SIZE=999, RENAME=VINES.INI
  535. 1,BHP018.DLL , SIZE=999, RENAME=XNS.DLL
  536. 1,BHP018.INI , SIZE=999, RENAME=XNS.INI
  537. [Files-TOOLS]
  538. 1,DEFAULT.ADR , SIZE=999
  539. 1,FILTER.DLL , SIZE=999
  540. 1,FRIENDLY.DLL , SIZE=999
  541. 1,HEXEDIT.DLL , SIZE=999
  542. 1,NETMON.CNT , SIZE=999
  543. 1,NETMON.EXE , SIZE=999
  544. 1,NETMON.HLP , SIZE=999
  545. 1,NETMON.INI , SIZE=999
  546. 1,NMAPI.DLL , SIZE=999
  547. 1,NMGLOSS.HLP , SIZE=999
  548. 1,PARSER.DLL , SIZE=999
  549. 1,PARSER.INI , SIZE=999
  550. 1,SLBS.DLL , SIZE=999
  551. 1,TOOLBAR.DLL , SIZE=999
  552. [LanguagesSupported]
  553.     ENG
  554. [OptionsTextENG]
  555.     NETMON      = "Network Monitor Agent"
  556.     NETMONTOOLS = "Network Monitor Tools and Agent"
  557. [FileConstantsENG]
  558. ProCaption   = "Windows NT Setup"
  559. ProCancel    = "Cancel"
  560. ProCancelMsg = "Windows NT Networking is not correctly installed.  "+
  561.                "Are you sure you want to cancel copying files?"
  562. ProCancelCap = "Network Setup Message"
  563. ProText1     = "Copying:"
  564. ProText2     = "To:"
  565. ProductNMAgentDisplayName  = "Network Monitor Agent"
  566. NETMONTOOLSSoftwareTitle  = "Network Monitor Tools and Agent"
  567. NETMONSoftwareTitle       = "Network Monitor Agent"
  568. [NETMONConstantsENG]
  569. ProductSoftwareTitle       = $(NETMONSoftwareTitle)
  570. ProductSoftwareDescription = "Informs monitoring programs, such as Performance Monitor and Network Monitor, of network transactions for this computer."
  571. ProductSoftwareDisplayName = $(ProductSoftwareTitle)" Driver"
  572. FunctionTitle   =  $(ProductSoftwareTitle)
  573. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  574. ShellCodeErrorText      = "Shell Code Error."
  575. [NETMONTOOLSConstantsENG]
  576. ProductSoftwareTitle       = $(NETMONTOOLSSoftwareTitle)
  577. ProductSoftwareDescription = "A software package for monitoring and troubleshooting network transactions"
  578. ProductSoftwareDisplayName = $(ProductSoftwareTitle)" Drivers"
  579. FunctionTitle   = $(ProductSoftwareTitle)
  580. ShellCodeErrorTitle     = "Error: "$(FunctionTitle)
  581. ShellCodeErrorText      = "Shell Code Error."
  582. [DialogConstantsENG]
  583. Help        = "&Help"
  584. Exit        = "Cancel"
  585. OK          = "OK"
  586. HelpContext = ""
  587. Continue    = "Continue"
  588. Cancel      = "Cancel"
  589. [IconInfoENG]
  590.     OldNetAdminGroupName = "Network Administration"
  591.     NetAdminGroupName = "Administrative Tools"
  592.     NetMonitor = "Network Monitor"
  593.